package cn.luo.service;

import cn.luo.entity.Blogs;
import cn.luo.entity.User;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface UserService {
    public int addUser(User user, MultipartFile multipartFile);    //添加用户
    public User findUserByName(String username);  //根据用户名查询用户信息
    public List<Blogs> finfByPage2(int start, int num);   //分页查询
    public long total();  //计算总数
}
